import React, { Component } from 'react';
import autoBind from 'react-autobind';
import { connect } from 'dva';

// widget 
import SearchNav from '../components/Common/SearchNav'
import CategoryBody from '../components/Category/CategoryBody'

class CategoryPage extends Component {
	constructor(props) {
        super(props)
        autoBind(this)
    }
	render() {
		return (
		  	<div>
		    	<SearchNav type="category" {...this.props} />
		    	<CategoryBody {...this.props} />
		    </div>
		);
	}
}

CategoryPage.propTypes = {
};

export default connect(({ meyley }) => ({
	meyley
}))(CategoryPage);
